﻿using System;
namespace Clipper.Model
{
	/// <summary>
	/// PatientInfo:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
    [Serializable]
    public partial class PatientInfo:AbstractModel
    {
        public PatientInfo()
        { }
        #region Model
        private long _patientid;
        private string _name;
        private string _sex;
        private int? _age;
        private int? _surgerynumber;
        private int? _hospitalization;
        private int? _bednumber;
        private string _section;
        private string _infectedpatch;
        private DateTime _createtime;
        private string _note;
        /// <summary>
        /// 病人id为0的是空的病人
        /// </summary>
        public long patientID
        {
            set 
            {
                _patientid = value;
                NotifyPropertyChanged("patientID");
            }
            get { return _patientid; }
        }
        /// <summary>
        /// 姓名
        /// </summary>
        public string name
        {
            set
            {
                _name = value;
                NotifyPropertyChanged("name");
            }
            get { return _name; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string sex
        {
            set { 
                _sex = value;
                NotifyPropertyChanged("sex");
            }
            get { return _sex; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? age
        {
            set {
                _age = value;
                NotifyPropertyChanged("age");
            }
            get { return _age; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? surgeryNumber
        {
            set {
                _surgerynumber = value;
                NotifyPropertyChanged("surgeryNumber");
            }
            get { return _surgerynumber; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? hospitalization
        {
            set { 
                _hospitalization = value;
                NotifyPropertyChanged("hospitalization");
            }
            get { return _hospitalization; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? bedNumber
        {
            set { 
                _bednumber = value;
                NotifyPropertyChanged("bedNumber");
            }
            get { return _bednumber; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string section
        {
            set {
                _section = value;
                NotifyPropertyChanged("section");
            }
            get { return _section; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string infectedPatch
        {
            set {
                _infectedpatch = value;
                NotifyPropertyChanged("infectedPatch");
            }
            get { return _infectedpatch; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime createTime
        {
            set {
                _createtime = value;
                NotifyPropertyChanged("createTime");
            }
            get { return _createtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string note
        {
            set {
                _note = value;
                NotifyPropertyChanged("note");
            }
            get { return _note; }
        }

        #endregion Model

    }
}

